//
//  MyInforNormalModel.m
//  LovingPartyBuilding
//
//  Created by 刘应平 on 17/5/4.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "MyInforNormalModel.h"

@implementation MyInforNormalModel

- (CGFloat)contentHeight{
    return [CalculateLabelHeight CalculateLabelHeightWithString:self.content font:14 * [UIScreen zj_textFontScale] width:[UIScreen zj_screenWith] - 125 * [UIScreen zj_screenWScale] - 30 * [UIScreen zj_screenHScale]].height + 1;
}

- (CGFloat)cellHeight{
    if (self.contentHeight > 20 * [UIScreen zj_screenHScale]) {
        return 30 * [UIScreen zj_screenHScale] + self.contentHeight;
    }else{
        return 50 * [UIScreen zj_screenHScale];
    }
}
@end
